import logging

logger = logging.getLogger(__name__)

def my_assert(a,action,b):
    a=str(a)
    b=str(b)
    logger.info(f'断言开始："{a}"{action}"{b}"')
    if action=="in":
        assert a in b
    elif action=="==":
        assert a == b
    else:
        assert False
    logger.info("断言通过")
